package com.example.teachingevaluationsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 评价题目
 * </p>
 *
 * @author lp
 * @since 2022-04-04
 */
@Getter
@Setter
@TableName("topic")
@ApiModel(value = "Topic对象", description = "评价题目")
public class Topic implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("题目标题")
    @TableField("title")
    private String title;

    @ApiModelProperty("说明")
    @TableField("description")
    private String description;

    @ApiModelProperty("类型：如专业能力、工作积极")
    @TableField("type")
    private String type;

    @ApiModelProperty("分数优秀然后的选项")
    @TableField("next_topic_a")
    private String nextTopicA;

    @ApiModelProperty("分数良好然后的选项")
    @TableField("next_topic_b")
    private String nextTopicB;

    @ApiModelProperty("分数低时跳转的选项")
    @TableField("next_topic_c")
    private String nextTopicC;


}
